home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / box.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2001-10-16  |  3.3 KB  |  99 lines

  1. VERSION 5.00
  2. Begin VB.Form frmTextBox 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Text Box"
  5.    ClientHeight    =   2475
  6.    ClientLeft      =   6420
  7.    ClientTop       =   2895
  8.    ClientWidth     =   3480
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    PaletteMode     =   1  'UseZOrder
  13.    ScaleHeight     =   2475
  14.    ScaleWidth      =   3480
  15.    Begin VB.TextBox StrText 
  16.       Height          =   615
  17.       Left            =   360
  18.       MultiLine       =   -1  'True
  19.       TabIndex        =   5
  20.       Top             =   1080
  21.       Width           =   2415
  22.    End
  23.    Begin VB.TextBox txtRoundness 
  24.       Height          =   285
  25.       Left            =   1680
  26.       TabIndex        =   3
  27.       Text            =   "50"
  28.       Top             =   240
  29.       Width           =   615
  30.    End
  31.    Begin VB.CommandButton cmdOK 
  32.       Caption         =   "OK"
  33.       Height          =   375
  34.       Left            =   360
  35.       TabIndex        =   0
  36.       Top             =   2040
  37.       Width           =   1335
  38.    End
  39.    Begin VB.CommandButton cmdCancel 
  40.       Caption         =   "Cancel"
  41.       Height          =   375
  42.       Left            =   1920
  43.       TabIndex        =   1
  44.       Top             =   2040
  45.       Width           =   1215
  46.    End
  47.    Begin VB.Label Label2 
  48.       Caption         =   "Input Text"
  49.       Height          =   252
  50.       Left            =   1080
  51.       TabIndex        =   4
  52.       Top             =   840
  53.       Width           =   1092
  54.    End
  55.    Begin VB.Label Label1 
  56.       Caption         =   "Roundness"
  57.       Height          =   375
  58.       Left            =   240
  59.       TabIndex        =   2
  60.       Top             =   240
  61.       Width           =   1095
  62.    End
  63. Attribute VB_Name = "frmTextBox"
  64. Attribute VB_GlobalNameSpace = False
  65. Attribute VB_Creatable = False
  66. Attribute VB_PredeclaredId = True
  67. Attribute VB_Exposed = False
  68. Option Explicit
  69. '/******************************************************************/
  70. '/*                                                                */
  71. '/*                      TurboCAD for Windows                      */
  72. '/*                   Copyright (c) 1993 - 2001                    */
  73. '/*             International Microcomputer Software, Inc.         */
  74. '/*                            (IMSI)                              */
  75. '/*                      All rights reserved.                      */
  76. '/*                                                                */
  77. '/******************************************************************/
  78. ' Storage for read-only property indicating whether
  79. ' or not the dialog box was cancelled. Default is
  80. ' False. Note that the declaration is Private, so
  81. ' that the value cannot be set from the OLE client
  82. ' application. The client reads the value using the
  83. ' DialogCancelled property.
  84. Private blnDialogCanceled As Boolean
  85. ' Read-only property indicating cancellation of the
  86. ' dialog.
  87. Property Get DialogCanceled() As Boolean
  88.     DialogCanceled = blnDialogCanceled
  89. End Property
  90. Private Sub cmdCancel_Click()
  91.     ' Set the value of the read-only property that
  92.     ' tells the caller the dialog was cancelled.
  93.     blnDialogCanceled = True
  94.     Me.Hide
  95. End Sub
  96. Private Sub cmdOK_Click()
  97.     Me.Hide
  98. End Sub
  99.